package annotation.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


public class Group2 {
    private People people;

    public Group2() {
    }

    public People getPeople() {
        return people;
    }
    @Autowired
    public void setPeople(People people) {
        this.people = people;
    }

    @Override
    public String toString() {
        return "Group2{" + "people=" + people + '}';
    }
}
